<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/11/17
  Time: 10:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>



<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>菜单</title>
    <link href="${pageContext.request.contextPath}/css/left.css" rel="stylesheet" type="text/css"/>
    <link rel="StyleSheet" href="${pageContext.request.contextPath}/css/dtree.css" type="text/css" />
</head>
<body>
<table width="100" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td height="12"></td>
    </tr>
</table>
<table width="100%" border="0">
    <tr>
        <td>
            <div class="dtree">

                <a href="javascript: d.openAll();">展开所有</a> | <a href="javascript: d.closeAll();">关闭所有</a>

                <script type="text/javascript" src="${pageContext.request.contextPath}/js/dtree.js"></script>
                <script type="text/javascript">
                    d = new dTree('d');
                    d.add('01',-1,'seven系统管理');

                    d.add('0101','01','用户管理','','','mainFrame');
                    d.add('010101','0101','用户管理','${pageContext.request.contextPath}/adminUser','','mainFrame');

                    d.add('0102','01','一级分类管理','','','mainFrame');
                    d.add('010201','0102','一级分类管理','${pageContext.request.contextPath}/adminCategory','','mainFrame');

                    d.add('0103','01','二级分类管理','','','mainFrame');
                    d.add('010301','0103','二级分类管理','${pageContext.request.contextPath}/adminCategorySecond','','mainFrame');

                    d.add('0104','01','商品管理','','','mainFrame');
                    d.add('010401','0104','商品管理','${pageContext.request.contextPath}/adminProduct?page=1','','mainFrame');
                    d.add('010402','0104','商品添加','${pageContext.request.contextPath}/addUIProduct','','mainFrame');

                    d.add('0105','01','订单管理','','','mainFrame');
                    d.add('010501','0105','所有订单','${pageContext.request.contextPath}/adminOrder_findPageBean?page=1','','mainFrame');
                    d.add('010502','0105','未付款订单','${pageContext.request.contextPath}/adminOrder_findByState?page=1&state=1','','mainFrame');
                    d.add('010503','0105','已付款订单','${pageContext.request.contextPath}/adminOrder_findByState?page=1&state=2','','mainFrame');
                    d.add('010504','0105','已发货订单','${pageContext.request.contextPath}/adminOrder_findByState?page=1&state=3','','mainFrame');
                    d.add('010505','0105','完成的订单','${pageContext.request.contextPath}/adminOrder_findByState?page=1&state=4','','mainFrame');
                    document.write(d);
                </script>
            </div>	</td>
    </tr>
</table>
</body>
</html>


